package com.cmc.cloud.cmclink.doc.vo.blnoscnvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 周贤
 * @date 2025/9/23
 */
@Schema(description = "管理后台 - check si 界面 绑定cpfCode")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LinkCpfCodeReqVO {
    @Schema(description = "提单主表id", example = "29084")
    @NotNull(message = "{LinkCpfCodeReqVO.blnoId.NotNull}")
    private Long blnoId;

    @Schema(description = "相关方类型", example = "29084")
    @NotEmpty(message = "{LinkCpfCodeReqVO.partyTypeCode.NotEmpty}")
    private String partyTypeCode;

    @Schema(description = "cpfCode", example = "29084")
    @NotEmpty(message = "{LinkCpfCodeReqVO.csmCode.NotEmpty}")
    private String csmCode;
}
